<script setup></script>

<template>
    <div class="contant">
        <div class="top">
            <div class="top-title">
                <slot name="title"></slot>
            </div>
            <div class="top-btn">
                <slot name="btn"></slot>
            </div>
        </div>
        <div class="main">
            <slot name="main"></slot>
        </div>
    </div>
</template>

<style scoped lang="scss">
.contant {
    margin-top: 20px;
    padding: 10px;
}
.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
</style>